Skip to content

fix(desktop): restore meeting auto-stop fallback#5439

Open
ComputelessComputer wants to merge 2 commits into
mainfrom
fix/meeting-auto-stop-trigger-fallback
Open

fix(desktop): restore meeting auto-stop fallback#5439
ComputelessComputer wants to merge 2 commits into
mainfrom
fix/meeting-auto-stop-trigger-fallback

Conversation

@ComputelessComputer
Copy link
Copy Markdown
Collaborator

@ComputelessComputer ComputelessComputer commented Jun 2, 2026

Stop recordings when trigger apps disappear even if micStopped reports a helper process, while keeping active-trigger false positive protection.


Note

Medium Risk
Changes live STT auto-stop behavior when mic events omit trigger bundle IDs; incorrect logic could stop recordings early or leave them running after meetings end.

Overview
Meeting auto-stop now treats micStopped as a signal even when the stopped app list only names helper/PID processes, not the configured trigger bundle ID. A new getAutoStopCandidateAppIds path uses the full trigger list when no stopped app matches a trigger; confirmation still re-checks the mic and aborts if a trigger is still active.

Pending auto-stop timers track whether a successful mic snapshot is required: helper-only stops need it; a prior direct trigger stop keeps the stronger path and is not downgraded by a later helper event. If that snapshot fails on the helper-only path, auto-stop is skipped.

The browser bundle-ID set is expanded and renamed (BROWSER_AUTO_STOP_APP_IDS), covering more Chromium/Firefox variants and browsers used for calendar early-end prompts. Tests add #5436 regressions (Teams helper, Arc, Zoom helper ordering) and parameterize the early calendar prompt across multiple browsers.

Reviewed by Cursor Bugbot for commit c09c2cb. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 2, 2026

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit c09c2cb
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a1e5dffd47cf0000842b21f

Stop recordings when trigger apps disappear even if micStopped reports a helper process, while keeping active-trigger false positive protection.
@ComputelessComputer ComputelessComputer force-pushed the fix/meeting-auto-stop-trigger-fallback branch from ca87089 to a9fb137 Compare June 2, 2026 02:23
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a9fb137. Configure here.

Comment thread apps/desktop/src/stt/contexts.tsx Outdated
Keep direct trigger-stop timers from being downgraded by later helper-only micStopped events, and cover the failed mic snapshot regression.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant